package com.doeis.uwork.bean;

import java.util.List;

import com.voland.core.db.Entity;
/**
 * 指数按周期提醒的配置bean
 * 
 * @author Administrator
 *
 */
public class ItemAttrs extends Entity{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	public Integer tipType; //周期属性 1 每天 2 每周 3 每月
	public String time;//每天的时间 格式 MM:dd
	public List<Integer> days;//
	
	public boolean sum = false;//是否可以累加
	public String unit;//单位
	
	public boolean allowSortCalc= false; //是否允许万灵计算
	public int  allowShare = 0; //0为默认，1为申请，2为拒绝，3为通过
	public String item_icon;//指数图标
	
	public Boolean textItem;//是否是文本指数true  ,false/null 代表正常的指数
	
	
	public Boolean isTextItem() {
		return textItem;
	}
	public void setTextItem(Boolean textItem) {
		this.textItem = textItem;
	}
	public Integer getTipType() {
		return tipType;
	}
	public void setTipType(Integer tipType) {
		this.tipType = tipType;
	}
	public List<Integer> getDays() {
		return days;
	}
	public void setDays(List<Integer> days) {
		this.days = days;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public boolean isSum() {
		return sum;
	}
	public void setSum(boolean sum) {
		this.sum = sum;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	
	public boolean isAllowSortCalc() {
		return allowSortCalc;
	}
	public void setAllowSortCalc(boolean allowSortCalc) {
		this.allowSortCalc = allowSortCalc;
	}
	public int getAllowShare() {
		return allowShare;
	}
	public void setAllowShare(int allowShare) {
		this.allowShare = allowShare;
	}
	public String getItem_icon() {
		return item_icon;
	}
	public void setItem_icon(String item_icon) {
		this.item_icon = item_icon;
	}
	
}
